<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@ page isELIgnored="false" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Register.jsp</title>
</head>
<body>
<center>
<h1>JLC TechSupport</h1>
<h2>Registration Form</h2>
<font color="red" size="4" face="arial">${MSG}</font>
<form action="register.jlc" method="post">
<table>
<tr>
<td>Full name</td>
<td><input type="text" name="fname" value="${FNM}"></td>
<td><font color="red" size="4" face="arial">${FNMERR}</font></td>
</tr>

<tr>
<td>Email Id</td>
<td><input type="text" name="email" value="${EML}"></td>
<td><font color="red" size="4" face="arial">${EMLERR}</font></td>
</tr>

<tr>
<td>Phone</td>
<td><input type="text" name="phone" value="${PHN}"></td>
<td><font color="red" size="4" face="arial">${PHNERR}</font></td>
</tr>

<tr>
<td>Username</td>
<td><input type="text" name="username" value="${UNM}"></td>
<td><font color="red" size="4" face="arial">${UNMERR}</font></td>
</tr>

<tr>
<td>Password</td>
<td><input type="password" name="password"></td>
<td><font color="red" size="4" face="arial">${PWDERR}</font></td>

</tr>
<tr><td colspan="3" align="center"><input type="submit" value="Register"/></td></tr>
</table>
</form>
<h2><a href="index.jsp">Login</a></h2>
</center>

</body>
</html>